package semant.first_pass;

import semant.Env;
import symbol.ClassInfo;
import symbol.MethodInfo;
import syntaxtree.Formal;
import util.List;

/**
 * 
 * @author gabriel
 * 
 */
public class FormalDeclListHandler {

	public FormalDeclListHandler(Env e, ClassInfo i, MethodInfo m) {
		super();
	}

	public static void firstPass(Env env, ClassInfo info, MethodInfo m,
			List<Formal> formals) {
		for (List<Formal> f = formals; f != null; f = f.tail) {
			FormalDeclHandler.firstPass(env, info, m, f.head);
		}
	}

}
